package top.truism.auth.permission;

import top.truism.auth.enums.UserLevel;

public final class MetaInfo {

  private String identity;

  private String permission;

  private String module;

  private UserLevel userLevel;

  public String getIdentity() {
    return identity;
  }

  public void setIdentity(String identity) {
    this.identity = identity;
  }

  public String getPermission() {
    return permission;
  }

  public void setPermission(String permission) {
    this.permission = permission;
  }

  public String getModule() {
    return module;
  }

  public void setModule(String module) {
    this.module = module;
  }

  public UserLevel getUserLevel() {
    return userLevel;
  }

  public void setUserLevel(UserLevel mount) {
    this.userLevel = mount;
  }

  public MetaInfo() {
  }

  public MetaInfo(String identity, String permission, String module, UserLevel userLevel) {
    this.identity = identity;
    this.permission = permission;
    this.module = module;
    this.userLevel = userLevel;
  }

  @Override
  public String toString() {
    return "MetaInfo{" +
        "identity='" + identity + '\'' +
        ", permission='" + permission + '\'' +
        ", module='" + module + '\'' +
        ", userLevel=" + userLevel +
        '}';
  }
}
